﻿@using Docs.Core
@{ Page.Title = "BclEx Docs"; }
<h1>
    Welcome to BclEx Docs</h1>
<p>
    BclEx is a suite of packages for the .NET Framework that extend the system namespace with helpful classes, abstractions and extensions methods to accelerate development. This topic lists documentation that will help you use BclEx packages in you own projects.
</p>
<ol class="topics">
    @foreach (var topic in Topic.GetTopics("~/docs"))
    {
        <li class="topic">
            <h2>@topic.Title</h2>
            @if (topic.SubTopics.Any())
            {
                <ol class="subTopics">
                    @foreach (var subTopic in topic.SubTopics)
                    {
                        <li class="subTopic">
                            <h3>
                                <a href="@subTopic.Url">@subTopic.Title</a></h3>
                        </li>
                    }
                </ol>
            }
        </li>
    }
</ol>
